package com.his.organization.service;

import com.his.login.entity.DictEmployee;
import com.his.organization.entity.DictOrganization;
import com.his.organization.vo.OrganizationVo;

import java.util.List;
import java.util.Map;

/**
 * @Author xiaoxiaoping
 * @Date 2020/2/6 15:28
 * @Version 1.0
 */
public interface OrganizationService {
    void save(DictEmployee dictEmployee,OrganizationVo organizationVo);

    void update(OrganizationVo organizationVo);

    DictOrganization selectById(String orgId);

    List<DictOrganization> selectByEntity(DictEmployee dictEmployee, OrganizationVo organizationVo);

    List<Map<String,Object>> getOrgTree(DictEmployee dictEmployee);
}
